<?=$this->load->view('user_include_top',null)?>  
<div style="width:100%;padding:5px;">  
<form name=loginform>
        <div  style="background:white; width:400px; border:#eeeeee 5px solid;  margin: auto">
        <TABLE cellSpacing=8 width=400 height=200>
        <TR>
            <TD height=30 align=left><img src="images/login_title.gif">
            </TD>
        </TR>
         <TR>
            <TD height=30 align=center>帐　号： <INPUT id=uid name=uid class="color_input">
            </TD>
        </TR>
        <TR>
            <TD height=30 align=center>密　码： <INPUT id=pwd type=password name=pwd  class="color_input" onkeydown="if(event.keyCode==13){do_login()}"> 
               </TD>
         </TR>
        <TR>
            <TD height=30 align=center>验证码： <INPUT id=ac style="width:145px" type=text name=ac  class="color_input" onkeydown="if(event.keyCode==13){do_login()}">
            <img id="acimg" width=80 height=20 src="<?=base_url()?>user/authcode?r=<?echo time()?>" align="absmiddle" onclick="document.getElementById('acimg').src = '<?=base_url()?>user/authcode?r='+new Date().getTime()" style="cursor:pointer;">
               </TD>
         </TR>     
          <TR>
            <TD valign=middle align=center>　　　
                <input type="image" src="images/login_button.gif" onclick="do_login(); return false;" id=btnLogin>　
                <a href='user/register'>用户注册</a>&nbsp;|&nbsp;<a href='user/forgot_pwd'>忘记密码?</a>　　
            </TD>
          </TR>
         </TABLE>
         </div> 
</form>
<script>
    var base_url = "<?=base_url()?>";
    <?
    if(isset($_SESSION['before_login_page'])) {
    ?>
    var  default_page = "<?echo $_SESSION['before_login_page']?>";  
    <?} else {?>
    var  default_page = "user/list_forms";  
    <?}?>
</script>
<script src="js/login.js"></script>
</div>
<?=$this->load->view('user_include_bottom',null)?>     